package com.abel;

import com.abel.spring.SpringConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import java.io.IOException;

/**
 * Hello world!
 *
 */
public class Provider {
    public static void main( String[] args ) throws IOException {
        //ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"provider.xml"});
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);
        context.start();
        System.in.read();
    }
}
